package com.hzit.pay.center.mapper;

import com.hzit.pay.center.model.RefundSerialInfo;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface RefundSerialInfoMapper {

    int deleteByPrimaryKey(Long id);

    int insert(RefundSerialInfo record);

    int insertSelective(RefundSerialInfo record);

    RefundSerialInfo selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(RefundSerialInfo record);

    int updateByPrimaryKey(RefundSerialInfo record);

    /**
     *
     * SELECT * FROM tb_refund_serial where orederId = ？
     * 根据orderID
     * @param orderId
     * @return
     */
    List<RefundSerialInfo> selectByOrderId(String orderId);
}